package com.ph.irp.base.verifyproject.dao;

import java.util.List;

import com.ph.irp.model.PBaseVerifyprojectMaterial;

public interface PBaseVerifyprojectMaterialDao {
	public boolean isSame(String materialCode)throws Throwable;
	
	public List<PBaseVerifyprojectMaterial> getMaterialList(PBaseVerifyprojectMaterial material)throws Throwable;
	public List<PBaseVerifyprojectMaterial> getAllMaterial()throws Throwable;
	public PBaseVerifyprojectMaterial getMaterialById(int materialId)throws Throwable;
	
	public void addMaterial(PBaseVerifyprojectMaterial material)throws Throwable;
	
	public void updateMaterial(PBaseVerifyprojectMaterial material)throws Throwable;
	
	public void deleteMaterial(int materialId)throws Throwable;
	
}
